package cn.formaggie.service.face;

import cn.formaggie.entity.model.roleandpermission.Role;

import java.util.List;
import java.util.Map;

public interface RoleService {

     Role getRoleById(Integer id);

     List<Role> findRoles(Map<String,Object> map);

     List<Role> findAllRoles();

     Integer getRolesCount(Map<String,Object> map);

     Boolean addRole(Role role);

     Boolean deleteRole(Integer id);

     Boolean modifyRoleInfo(Role role);
}
